package com.nicolas.pattern.abstractfactory;

/**
 * 抽象工厂模式调用
 * @author nicolas 2017-02-11
 *
 */
public class AbastractFactoryMain {

	public static void main(String[] args) {
		Provider provider = new SendMailFactory();  
        Sender sender = provider.produce();  
        System.out.println("抽象工厂模式调用：");
        sender.Send();  
	}

}
